<html>
<head>
<title>Game Chooser - Admin</title>

<style type="text/css">
h1,h2 {
  font-family: "Verdana";
}
h2 {
  font-size: 125%;
  font-weight: bold;
}
.bordertable {
  border-width: 1px;
  border-style: solid;
  border-colour: #303030;
}
.message {
  color: #ff1010;
  background-color: #ffff90;
}
.facility {
}
.token {
  padding-left: 30px;
}
</style>
</head>

<body>

<h1>Auth Tokens</h1>

<span class="message"> {{ message }} </span>

<h2> Existing tokens </h2>
<table class=bordertable>
<tr> <th class="facility"> Facility <th class="token"> Token
{% for auth in token_list %}
<tr> <td class="facility">  {{ auth.facility }} <td class="token"> {{ auth.token }} 
{% endfor %}
</table>

<h2> Create or modify a token </h2>
<form name="update_token" action="/admin/tokens" method="post">
Facility: <input type="text" name="facility" /><br>
Secret: <input type="text" name="token" /><br>
<input type="submit" value="Submit" />
</form>

</body>
</html>
